﻿Public Class TienIchBUS
    Private tiDAO As TienIchDAO

    Public Sub New()
        tiDAO = New TienIchDAO
    End Sub
    Public Function CapNhat(ByVal ti As TienIchDTO, ByVal f As Boolean) As Boolean
        Return tiDAO.CapNhat(ti, f)
    End Function
    Public Function XoaTienIch(ByVal emp As TienIchDTO)
        Return tiDAO.XoaTienIch(emp)
    End Function
    Public Function GetData() As List(Of TienIchDTO)
        Return tiDAO.GetData()
    End Function
End Class
